package cn.bin758.h5game.module.game.convert.GameData;

import java.util.*;

import cn.bin758.h5game.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.bin758.h5game.module.game.controller.admin.GameData.vo.*;
import cn.bin758.h5game.module.game.dal.dataobject.GameData.GameDataDO;

/**
 * 游戏数据 Convert
 *
 * @author bin758
 */
@Mapper
public interface GameDataConvert {

    GameDataConvert INSTANCE = Mappers.getMapper(GameDataConvert.class);

    GameDataDO convert(GameDataCreateReqVO bean);

    GameDataDO convert(GameDataUpdateReqVO bean);

    GameDataRespVO convert(GameDataDO bean);

    List<GameDataRespVO> convertList(List<GameDataDO> list);

    PageResult<GameDataRespVO> convertPage(PageResult<GameDataDO> page);

    List<GameDataExcelVO> convertList02(List<GameDataDO> list);

}
